pull (something) out of a hat

Translations
sortir (quelque chose) de son chapeau
Definitions
To produce or come up with something unexpectedly or seemingly by magic, often without any apparent preparation or explanation.
Words
hat

noun
chapeau
pull

verb
tirer